<div class="hl-histories">
  <% if ctn_history.size > 0 then %>
      <% ctn_history.each do |f| %>
          <div class="history">
            <span style="width:90px;"><%= f.action %></span>
            <span style="width:180px;"><%= l f.time %></span>
          </div>
          <div class="history">
            <span style="width: 90px;"><%= f.vehicle_no %></span>
            <span style="width:180px;"><%= f.message %></span>
          </div>
          <div style="height:2px;width:296px;border-bottom:1px dotted #c0c0c0;margin-right: 10px;margin-top: 3px;margin-bottom: 3px;"></div>
      <% end %>

  <% else %>
      <div class="history">
        <span style="width: 90%;text-align: center;"><%= t 'activerecord.attributes.util.no_history_record' %></span>
      </div>
  <% end %>
</div>